home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / s390 / include / asm / irq.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  429 b   |  24 lines

  1. #ifndef _ASM_IRQ_H
  2. #define _ASM_IRQ_H
  3.  
  4. #ifdef __KERNEL__
  5. #include <linux/hardirq.h>
  6.  
  7. /*
  8.  * the definition of irqs has changed in 2.5.46:
  9.  * NR_IRQS is no longer the number of i/o
  10.  * interrupts (65536), but rather the number
  11.  * of interrupt classes (2).
  12.  * Only external and i/o interrupts make much sense here (CH).
  13.  */
  14.  
  15. enum interruption_class {
  16.     EXTERNAL_INTERRUPT,
  17.     IO_INTERRUPT,
  18.  
  19.     NR_IRQS,
  20. };
  21.  
  22. #endif /* __KERNEL__ */
  23. #endif
  24.